#include <stdio.h>

#define T(x,y,i) (y&(1<<i))&&(x+=(y<<i))

int sum(int n)
{
	//return (n>1)?n+sum(n-1):1;
	int res=1;
	(n>1)&&(res=n+sum(n-1));
	return res;
}
int main()
{
	printf("%d\n",sum(100));
	return 0;
}
